package org.skyer.third.gateway.api.enums;


public enum  CommonOrderStatusEnum {
    //订单状态 1:待发货 2:已发货 3:交易完成 4:交易取消 5:交易关闭
    TO_BE_SHIPPED(1,"待发货"),

    SHIPPED(2,"已发货"),

    TRADE_SUCCESS(3,"交易完成"),

    TRADE_CANCEL(4,"交易取消"),

    TRADE_CLOSE(5,"交易关闭");

    private Integer code;

    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    CommonOrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
